
<style type="text/css" media="screen">
    .weui-navbar{
        background:#1aad18;
        line-height: 2rem;
        height: 2rem;
        z-index: 99;
        /*position: fixed;*/
        /*top:auto;*/
    }

    .weui-navbar__item{
        line-height: 2rem;
        height: 2rem;
        /*color: white;*/
        font-size: 0.8rem;
        padding: 0px;
        /*padding: 0px;*/
    }
    .weui-navbar__item:after {
        border-right: none;
    }
    .weui-navbar-item{
        line-height: 2rem;
        height: 2rem;
        /* color: white; */
        font-size: 0.8rem;
        padding: 0px;
        position: relative;
        display: block;
        -webkit-box-flex: 1;
        -webkit-flex: 1;
        flex: 1;

        text-align: center;
        font-size: 15px;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    }
</style>
<div class="weui-navbar">
    <div style="margin-left: 10px;" id="history_back">
    <a href="javascript:;" onclick="history.back()"> <i class="icon iconfont icon-houtuishangyige"  style="font-size:1rem;color: white"></i></a>
    </div>
    <div class="weui-navbar-item " style="color: white" >
        {if !empty($topbar['title'])}
            {$topbar['title']}
        {else /}
            阳光隔离服务
        {/if}
    </div>
    {if !empty($topbar['right'])}
    <div style="margin-right: 10px;">
          <a class="right-bt" href="{$topbar['right']['url']}" {if $topbar['right']['id']} id="{$topbar['right']['id']}" {/if} {if $topbar['right']['data_val']} data-val="{$topbar['right']['data_val']}" {/if}>
            <i class="icon iconfont {$topbar['right']['icon']}" style="color: {$topbar['right']['color']};font-size: {$topbar['right']['font_size']}"></i>
          </a>
    </div>
    {/if}
</div>